package com.boluo.custom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.boluo.common.annotation.Excel;
import com.boluo.common.core.domain.BaseEntity;

/**
 * 客户回访对象 cus_follow
 * 
 * @author ruoyi
 * @date 2023-04-17
 */
public class CusFollow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户回访主键 */
    private Long id;

    /** 回访客户id */
    @Excel(name = "回访客户id")
    private Long cusInfoId;

    /** 回访方式 */
    @Excel(name = "回访方式")
    private Long cusFollowType;

    /** 回访原因 */
    @Excel(name = "回访原因")
    private String cusFollowReason;

    /** 回访结果 */
    @Excel(name = "回访结果")
    private String cusFollowResult;

    /** 回访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cusFollowTime;

    /** 录入人id */
    @Excel(name = "录入人id")
    private Long cusEnterPeopleId;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cusEnterTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCusInfoId(Long cusInfoId) 
    {
        this.cusInfoId = cusInfoId;
    }

    public Long getCusInfoId() 
    {
        return cusInfoId;
    }
    public void setCusFollowType(Long cusFollowType) 
    {
        this.cusFollowType = cusFollowType;
    }

    public Long getCusFollowType() 
    {
        return cusFollowType;
    }
    public void setCusFollowReason(String cusFollowReason) 
    {
        this.cusFollowReason = cusFollowReason;
    }

    public String getCusFollowReason() 
    {
        return cusFollowReason;
    }
    public void setCusFollowResult(String cusFollowResult) 
    {
        this.cusFollowResult = cusFollowResult;
    }

    public String getCusFollowResult() 
    {
        return cusFollowResult;
    }
    public void setCusFollowTime(Date cusFollowTime) 
    {
        this.cusFollowTime = cusFollowTime;
    }

    public Date getCusFollowTime() 
    {
        return cusFollowTime;
    }
    public void setCusEnterPeopleId(Long cusEnterPeopleId) 
    {
        this.cusEnterPeopleId = cusEnterPeopleId;
    }

    public Long getCusEnterPeopleId() 
    {
        return cusEnterPeopleId;
    }
    public void setCusEnterTime(Date cusEnterTime) 
    {
        this.cusEnterTime = cusEnterTime;
    }

    public Date getCusEnterTime() 
    {
        return cusEnterTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cusInfoId", getCusInfoId())
            .append("cusFollowType", getCusFollowType())
            .append("cusFollowReason", getCusFollowReason())
            .append("cusFollowResult", getCusFollowResult())
            .append("cusFollowTime", getCusFollowTime())
            .append("cusEnterPeopleId", getCusEnterPeopleId())
            .append("cusEnterTime", getCusEnterTime())
            .toString();
    }
}
